package com.squid.templateProject.config.exception;

import lombok.Getter;

/**
 * Description
 *
 * @author jinhang1
 * @since 2024/01/23
 */
@Getter
public class ServerException extends RuntimeException {
    private final Integer code;
    private final String message;

    public ServerException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }
}
